package com.epam.ws.anatomist.example.bindings;

import java.util.Date;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.epam.ws.anatomist.example.IMessage;

@XmlRootElement(name = "Response", namespace = "urn:com:epam:ws:anatomist:example:bindings")
public class Response implements IMessage
{

	private Integer id;

	private String name;

	private Date dateCreated;

	private String GUID;

	private String error;

	@XmlElement(name = "GUID", namespace = "urn:com:epam:ws:anatomist:example:bindings")
	public String getGUID()
	{
		return GUID;
	}

	public void setGUID(String gUID)
	{
		GUID = gUID;
	}

	@XmlElement(name = "id", namespace = "urn:com:epam:ws:anatomist:example:bindings")
	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	@XmlElement(name = "name", namespace = "urn:com:epam:ws:anatomist:example:bindings")
	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	@XmlElement(name = "dateCreated", namespace = "urn:com:epam:ws:anatomist:example:bindings")
	public Date getDateCreated()
	{
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated)
	{
		this.dateCreated = dateCreated;
	}

	@XmlElement(name = "error", namespace = "urn:com:epam:ws:anatomist:example:bindings")
	public String getError()
	{
		return error;
	}

	public void setError(String error)
	{
		this.error = error;
	}

}
